package com.ittsang.utils;

public class RedisConstants {

    public static final String LOGIN_CODE_KEY = "login:code:";
    public static final Long LOGIN_CODE_TTL = 2L;

    public static final String LOGIN_USER_KEY = "login:token:";
    public static final Long LOGIN_USER_TTL = 36000L;

    // 比赛key
    public static final String RACE_LIMIT_KEY = "race:limit:";

    // 历史记录key
    public static final String HISTORY_USER_KEY = "history:user:";
    public static final Long HISTORY_USER_TTL = 30L;

}
